				<div class="section">
                 <script type="text/javascript">
					function check(){
						if(document.sac.cruise_name.value == ""){
							alert("Please enter Cruise name!");
							document.sac.cruise_name.focus();
							return false;
						}
						if(isNaN(document.sac.cruise_order.value)){
							alert("Tour order only number!");
							document.sac.cruise_order.focus();
							return false;
						}else{
							return true;
						}
					}
				</script>
                <script type="text/javascript">
					$(document).ready(function(){
						$obj 	= $("#cate_id");
						$show 	= $("#show_cagories");
						$obj.change(function(){
							$val = $(this).val();
							$.ajax({
								"url"   : "<?php echo base_url(); ?>admin/tours/getcago",
								"type"  : "POST",
								"data"  : "val="+$val,
								"async" : false,
								success : function(result){
									$show.html(result);
								} 
							});
						});
					});
                </script>
					<!--[if !IE]>start title wrapper<![endif]-->
					<div class="title_wrapper">
						<span class="title_wrapper_top"></span>
						<div class="title_wrapper_inner">
							<span class="title_wrapper_middle"></span>
							<div class="title_wrapper_content">
								<h2 class="menu_title">Add Cruise</h2>
							</div>
						</div>
						<span class="title_wrapper_bottom"></span>
					</div>
					<!--[if !IE]>end title wrapper<![endif]-->				
					<!--[if !IE]>start section content<![endif]-->
					<div class="section_content">
						<span class="section_content_top"></span>
						<div class="section_content_inner minheight">
                        	<div class="table_tabs_menu">
							<!--[if !IE]>start  tabs<![endif]-->
							<!--[if !IE]>end  tabs<![endif]-->
							</div>
				<!--[if !IE]>start table_wrapper<![endif]-->
							<div class="table_wrapper" style="background:none;">
								<div class="table_wrapper_inner">
                                	<div class="error_red"><?php if(isset($error)) { echo "<p>".$error."</p>"; } echo validation_errors(); ?></div>
                                    <form action="<?php echo base_url()?>admin/Cruises/add" method="post" name="sac" onsubmit="return check()" enctype="multipart/form-data">
                                    	 <div class="form_items">
                                    		<div class="form_items_left">Cruise name <span class="reds">*</span></div>
                                        	<div class="form_items_right"><input type="text" name="cruise_name" size="35" /></div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise code</div>
                                        	<div class="form_items_right"><input type="text" name="cruise_code" size="35" /></div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise ship</div>
                                        	<div class="form_items_right"><input type="text" name="cruise_ship" size="35" /></div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Star number<span class="reds">*</span></div>
                                        	<div class="form_items_right"><input type="text" name="cruise_star" size="35" /></div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise destinations</div>
                                        	<div class="form_items_right"><input type="text" name="cruise_destina" size="35" /></div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Price</div>
                                        	<div class="form_items_right"><input name="cruise_price_old" type="text" size="35"></div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Price promotion</div>
                                        	<div class="form_items_right"><input name="cruise_price" type="text" size="35"></div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Hot cruise</div>
                                        	<div class="form_items_right">
                                            	<input type="radio" value="1" name="cruise_show" />Yes
                                                <input type="radio" value="0" name="cruise_show"  checked="checked"/>No
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise type</div>
                                        	<div class="form_items_right">
                                            	<input type="checkbox" value="1" name="cruise_1day" checked="checked" />1 day
                                                <input type="checkbox" value="1" name="cruise_2day" />2 days
                                                <input type="checkbox" value="1" name="cruise_3day" />3 days
                                                <input type="checkbox" value="1" name="cruise_4day" />more than
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise promotion</div>
                                        	<div class="form_items_right"><input name="cruise_promo_title" type="text" size="35"></div>
                                   		 </div>
										 <div class="form_items" style="margin-top:5px;">
                                    		<div class="form_items_left">Select category</div>
                                        	<div class="form_items_right">
                                            	<select name="cate_id" id="cate_id">
                                                <option value="">Please select</option>
                                                <?php
												foreach($category as $items){
													echo "<option value='".$items['cate_id']."'>".$items['cate_name']."</option>";
												}
												?>
                                                </select>
                                                <div id="show_cagories" style="margin-top:10px;">
	                                            </div>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Short introduction</div>
                                        	<div class="form_items_right">
                                            	<textarea name="cruise_short_info" id="" cols="27" rows="5"></textarea>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise image 1</div>
                                        	<div class="form_items_right">
                                            <input name="cruise_image1" type="file" id="cruise_image1" size="35" />
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise image 2</div>
                                        	<div class="form_items_right">
                                            <input name="cruise_image2" type="file" id="cruise_image2" size="35" />
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise image 3</div>
                                        	<div class="form_items_right">
                                            <input name="cruise_image3" type="file" id="cruise_image3" size="35" />
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise image 4</div>
                                        	<div class="form_items_right">
                                            <input name="cruise_image4" type="file" id="cruise_image4" size="35" />
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Introduction</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_info');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $list['cate_ext'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise Include</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_include');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_include'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Itinerary</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_ltinerary');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_ltinerary'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cabins & Service</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_cabins');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_cabins'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Food & Dining</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_food');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_food'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise Activities</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_activities');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_activities'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise 1 day</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_1day_val');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_1day_val'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise 2 days</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_2day_val');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_2day_val'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise 3 days</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_3day_val');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_3day_val'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                         <div class="form_items">
                                    		<div class="form_items_left">Cruise more than</div>
                                        	<div class="form_items_right">
                                            <?php 
											$fck = new FCKeditor('cruise_4day_val');
											$fck->BasePath = sBASEPATH;
											//$fck->Value  = $getdata['cruise_4day_val'];
											$fck->Width  = '100%';
											$fck->Height = 400;
											$fck->Create();
										   ?>
                                            </div>
                                   		 </div>
                                      <div class="form_items">
                                   		<div class="form_items_left">&nbsp;</div>
                                        	<div class="form_items_right"><input type="submit" name="ok" value="Add Cruise" class="magin"/></div>
                               		  </div>
                                    </form>
								</div>
							</div>
							<!--[if !IE]>end table_wrapper<![endif]-->
						</div>
						<span class="section_content_bottom"></span>
					</div>
					<!--[if !IE]>end section content<![endif]-->
				</div>